package com.bd.lrb_z.mapper;

import com.bd.lrb_z.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {


    @Select("select * from user where mail = #{mail}")
    User selectByMail(String mail);


    @Insert("insert into user (mail,password,tle) values (#{mail},#{password},#{tle})")
    void insert(User user);

}
